Spaces:
Runtime error
Runtime error
hm-auch
commited on
Commit
·
502440e
1
Parent(s):
072c906
fixed font-color in huggingface theme
Browse files- app.py +1 -1
- gradio_queue.db +0 -0
- gradio_queue.db-journal +0 -0
app.py
CHANGED
@@ -72,5 +72,5 @@ Dabei werden automatisiert Satzteile verändert und die Auswirkungen auf die jew
|
|
72 |
input_sentence_text = gr.inputs.Textbox(lines=5, placeholder="Geben Sie hier den Satz ein, der von den Modellen auf Hassrede geprüft werden soll.")
|
73 |
output_predictions = [gr.outputs.Label(label="Prediction of initial model", num_top_classes=1), gr.outputs.Label(label="Prediction of challenging model", num_top_classes=1)]
|
74 |
ui = gr.Interface(fn=model_inference, inputs=input_sentence_text, outputs=output_predictions, title=title, article=article, description=description, interpretation="default",
|
75 |
-
flagging_options=["incorrect", "ambiguous", "other"])
|
76 |
ui.launch(enable_queue=True)
|
|
|
72 |
input_sentence_text = gr.inputs.Textbox(lines=5, placeholder="Geben Sie hier den Satz ein, der von den Modellen auf Hassrede geprüft werden soll.")
|
73 |
output_predictions = [gr.outputs.Label(label="Prediction of initial model", num_top_classes=1), gr.outputs.Label(label="Prediction of challenging model", num_top_classes=1)]
|
74 |
ui = gr.Interface(fn=model_inference, inputs=input_sentence_text, outputs=output_predictions, title=title, article=article, description=description, interpretation="default",
|
75 |
+
flagging_options=["incorrect", "ambiguous", "other"], theme="huggingface", css=".confidence {color: black !important}")
|
76 |
ui.launch(enable_queue=True)
|
gradio_queue.db
CHANGED
Binary files a/gradio_queue.db and b/gradio_queue.db differ
|
|
gradio_queue.db-journal
DELETED
Binary file (512 Bytes)
|
|