orion / app.py
andreslu's picture
Update app.py
cfa4d37
raw
history blame
207 Bytes
import gradio as gr
import torch
for text in generated_texts:
print(text)
def uppercase(text):
return text.upper()
iface = gr.Interface(fn=uppercase, inputs="text", outputs="text")
iface.launch()