Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -155,9 +155,10 @@ def quantizeEffectiveness(url):
|
|
155 |
result, confidence = vote(test_point, _test)
|
156 |
|
157 |
def greet(url):
|
158 |
-
result, confidence = quantizeEffectiveness(url)
|
159 |
|
160 |
-
return f"The video (ID: {videoId}) is {result} with a confidence of {round(confidence*100,2)}%"
|
|
|
161 |
|
162 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
163 |
iface.launch()
|
|
|
155 |
result, confidence = vote(test_point, _test)
|
156 |
|
157 |
def greet(url):
|
158 |
+
# result, confidence = quantizeEffectiveness(url)
|
159 |
|
160 |
+
# return f"The video (ID: {videoId}) is {result} with a confidence of {round(confidence*100,2)}%"
|
161 |
+
return "Hello"
|
162 |
|
163 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
164 |
iface.launch()
|