Reyad-Ahmmed commited on
Commit
247f0df
·
verified ·
1 Parent(s): f3f2742

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -237,7 +237,10 @@ def classifyTimeFrame():
237
  print(f"{label}: {confidence:.4f}")
238
  print("\n")
239
 
 
 
 
240
  #Run the function
241
- classifyTimeFrame()
242
 
243
 
 
237
  print(f"{label}: {confidence:.4f}")
238
  print("\n")
239
 
240
+ iface = gr.Interface(fn=classify_time_frame, inputs="text", outputs="text")
241
+ iface.launch()
242
+
243
  #Run the function
244
+ #classifyTimeFrame()
245
 
246