SHAMIL SHAHBAZ AWAN commited on
Update app.py
Browse files1234112 unmodified lines1171181191201211221235 unmodified lines129130131132
import gradio as gr
# Define gravity constants for each planet as a percentage of Earth's gravity112 unmodified lines # Function to trigger balloon effect and then calculate weight def trigger_balloon_and_weight(earth_weight, planet): result = calculate_weight(earth_weight, planet) # Trigger the balloon effect after calculating weight balloon_script.trigger() # Trigger the balloon effect return result 5 unmodified lines
if __name__ == "__main__": main()
app.py+3