Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def greet(name):
|
|
10 |
# beam search
|
11 |
molecules = model.generate(input_ids=sf_input["input_ids"],
|
12 |
sf_output = [tokenizer.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=True).replace(" ","") for g in molecules]
|
13 |
-
return name
|
14 |
|
15 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
16 |
iface.launch()
|
|
|
10 |
# beam search
|
11 |
molecules = model.generate(input_ids=sf_input["input_ids"],
|
12 |
sf_output = [tokenizer.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=True).replace(" ","") for g in molecules]
|
13 |
+
#return name
|
14 |
|
15 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
16 |
iface.launch()
|