Spaces:
Paused
Paused
Update app.py
Browse files
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 |
|