at_profit / app.py
teragron's picture
Update app.py
ae6f4fd
import gradio as gr
def process_inputs(P, G, T):
# Process the inputs and generate the output
output = ((((98*float(P)/100))/float(G))*99.9/100)*float(T) - float(P)
return output
input1 = gr.Textbox(label="Yatırılan Para")
input2 = gr.Textbox(label="Binance Global alış")
input3 = gr.Textbox(label="Binance TR satış")
output = gr.Textbox(label="Tahmini Kar")
interface = gr.Interface(fn=process_inputs, inputs=[input1, input2, input3], outputs=output)
interface.launch()