Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
# Load the Gradio interface
|
4 |
+
interface = gr.load("models/arisha123/distilhubert-finetuned-my_dataset")
|
5 |
+
|
6 |
+
# Launch the interface
|
7 |
+
interface.launch()
|
8 |
+
|
9 |
+
# Get the output result
|
10 |
+
result = interface.process(None)
|
11 |
+
|
12 |
+
# Print the result
|
13 |
+
print(result)
|