arisha123 commited on
Commit
bd76599
·
verified ·
1 Parent(s): 09c51d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -1,3 +1,13 @@
1
  import gradio as gr
2
 
3
- gr.load("models/arisha123/distilhubert-finetuned-my_dataset").launch()
 
 
 
 
 
 
 
 
 
 
 
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)