Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,12 @@ warnings.filterwarnings("ignore", message="Using slow pure-python SequenceMatche
|
|
| 10 |
|
| 11 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# Toegestane onderwerpen voor filtering
|
| 14 |
allowed_topics = {
|
| 15 |
"erotic toys": ["erotic toys", "sex toys", "sextoys", "erotictoys", "adult toys", "intimate toys", "pleasure toys", "sensual toys", "sextoy", "sex toy", "erotische speeltjes", "sex speeltje"],
|
|
|
|
| 10 |
|
| 11 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 12 |
|
| 13 |
+
def show_version():
|
| 14 |
+
return gr.__version__
|
| 15 |
+
|
| 16 |
+
iface = gr.Interface(fn=show_version, inputs=[], outputs="text", title="Gradio Versie Checker")
|
| 17 |
+
iface.launch()
|
| 18 |
+
|
| 19 |
# Toegestane onderwerpen voor filtering
|
| 20 |
allowed_topics = {
|
| 21 |
"erotic toys": ["erotic toys", "sex toys", "sextoys", "erotictoys", "adult toys", "intimate toys", "pleasure toys", "sensual toys", "sextoy", "sex toy", "erotische speeltjes", "sex speeltje"],
|