html5 视频直播 red5,html 5 video chat red5 results

本文列举了十多种专业的3D设计和CAD软件,包括ActCAD、Blender、CreoCAD、Microsoft Visio等,涵盖了从建筑设计、机械工程到3D打印和渲染等不同领域。这些工具提供了丰富的功能,如2D/3D建模、实时渲染、动画制作、协作编辑等,满足各类用户的需求。每款软件都有其独特优势,例如Blender的内置Cycles渲染器、AstroPrint的远程3D打印控制,以及Edificius的一站式BIM解决方案。

1

c5bd51b406857dbba2a9065ba25a6e93.png

achievement?achievement=leader-seasonal-2021-spring

ACTCAD 2021 PROFESSIONAL 2D & 3D CAD

ActCAD

..., Mechanical, Electrical, Architectural, Structural, P &IDs etc.), batch file converter, units converter, PDF to DXF Converter, image to DXF converter and LH sections. ActCAD supports many other file formats like dgn, STL, OBJ, 2D PDF, 3D PDF, SVG etc. All dwg/dxf versions from very old R2.5 to latest 2018 are supported.

Starting Price:

$299.00/one-time/user

light-partner

2

9fe9bc46a2ed85fa4917f1955af7dc4b.png

Blender

Blender Foundation

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing and motion tracking, video editing and 2D animation pipeline. Cycles is Blender’s built-in powerful unbiased path-tracer engine that offers stunning ultra-realistic rendering. Blender’s comprehensive array of modeling tools make creating, transforming and editing your models a breeze. VFX professionals say: “Probably the best tracker...

3

a27c52791cf51e2da66e3bc63fb6dbf3.png

Creo CADDS 5

PTC

.... Creo CADDS 5 facilitates collaborative engineering. Its unique architecture enables hundreds of designers to work concurrently on a design project, enabling simultaneous design, documentation, assembly and machining. Helps Creo CADDS 5 customers using Creo CADDS 5 files, as well as other CAD data and non-CAD-related product development information, to improve their collaboration, management and control efforts.

4

77476f78495391154f2533eaeed6388b.png

Microsoft Visio

Microsoft

Work visually. Diagramming made simple. Easily and intuitively draw flowcharts, diagrams, org charts, floor plans, engineering designs, and more with Visio. Use modern shapes and templates with the familiar Office experience. Collaborate on Visio flowcharts to include insights from all stakeholders. With Office 365*, your team can work on a diagram at the same time. Connect your flowcharts and diagrams to real-time data. Use applied shape formatting to automatically update flowcharts when...

Starting Price:

$5 per month

5

91431f4ba24604967337bb769017decb.png

Edificius

ACCA Software

Edificius is the BIM software "all in one" that integrates 2D and 3D architectural design with Rendering, Scene Photomontages and Photo editing, Ray Tracing rendering with AI denoising, Real-Time rendering, Video editing, Immersive Virtual Reality and much more! You can also deal with MEP plant modelling, Job scheduling (BIM 4D), Dynamic Data extraction from the BIM model for cost estimating (BIM 5D).

Edificius is an open solution that creates a seamless and interoperable system between other...

Starting Price:

€21/month

6

48e5369992e32759d894f6cadc1e2e2a.png

Scandy Pro

Scandy

Scandy Pro for iOS allows users to capture full-color 3D scans. Compatible with iPhone X, XS, XS Max, XR, 11, 11 Pro. and the new iPad Pro (2018 editions or later). Users can save scans and share files as .ply, .stl, or .obj formats. All rendering is done on-device and there is no need to register or store files in the cloud. Every user is provided with one free mesh save every day. Unlimited saves provided with the purchase of a subscription.

7

e80a00de5308fa7b9a0b7d5784b7e0aa.png

AstroPrint

AstroPrint

... print by enabling WIFI 3D Printer so you can print from any device, remotely controling your 3D printer, and even get push notifications when your prints are finished. Neat! View real-time progress of your prints. Add a camera to stream live video, take snapshots, and timelapses. Whether you are with a 3D Print Farm Business, a major University with 100+ printers, or an Enterprise like Stanley Black and Decker, we have you covered.

Starting Price:

$9.90 per month

8

390b739d569ad4bcd8690212614d8ada.png

bobile

bobile

bobile is a Branded Relationships Builder for small-medium businesses that autonomously transforming one-off clients into long-term relationships

Our goal is to help SMB's turn one-off clients into long-term relationships, keeping them coming back again and again

• Increase loyalty with loyalty cards, coupons, subscription, loyalty tiers, punch passes and a points management system.

• Enhance customer’s engagement with a booking feature, and push notifications

• Chat live with your...

Starting Price:

$50.00/month/user

9

fb7cab7f1bb1e37754a2313ffefa8819.png

Sim3D

Emulate3D

Sim3D is a desktop-based high-performance system simulation software. It provides a common representation of the project state, reduces project-associated risks investment, and produces statistical results. Sim3D helps create model layouts with drag and drop catalog components, import a variety of CAD formats to enhance the models and incorporate CAD to create company-specific catalogs.

Starting Price:

$5000.00/one-time/user

10

40047740d290b25d455a60a8f38d4788.png

CubiCasa

CubiCasa

Scan a floor plan in 5 minutes by using CubiCasa’s easy-to-use floor plan app. First scan is free! Join the thousands of companies already using CubiCasa floor plans. According to Zillow, floor plan is the 2nd most important feature on a listing and correlates highly with capturing potential leads. Scanning with CubiCasa floor plan app takes under 5 minutes on average and the resulting floor plan is always up-to-date. No drafting or finalizing, we deliver clear and professional floor plan...

Starting Price:

$24.43

11

3ca7bff00cde09fdf1ef0d075dafb4ae.png

finalToon

cebas Visual Technology

finalToon™ opens up a whole new world of illustration and special cartoon rendering effects for 3ds max. Thanks to the unique finalToon™ features, you can now add greater versatility to any projects involving NPR (Non Photo Realistic Rendering) with greater ease. finalToon™ comes fully integrated into 3ds max with perfect support of its native features. By adding finalToon as a standard 3ds Max Render Effect, interactive rendering updates are possible without the need to re-render the whole...

Starting Price:

$12.5 per month

12

43ae49f311cf495cb3e75a76d0f389fd.png

Shapespark

Shapespark

Shapespark turns architectural 3D models into realistic and interactive online walkthroughs and allows to host 3D video meetings inside them. 3D walkthroughs and 3D meetings can be easily shared via links, opened directly in web browsers, and enriched with interactive elements like material and color pickers, HTML content, and more.

Starting Price:

$19/month/user

13

3372beb064d886802948f3664ceb52f7.png

Inventor CAM

Autodesk

Inventor® CAM software simplifies the machining workflow with CAD-embedded 2.5-axis to 5-axis milling, turning, and mill-turn capabilities. The Product Design & Manufacturing Collection provides the tools you need for the design and manufacturing of your products. Create toolpaths with powerful technology, such as 3D adaptive clearing, and the industry’s most complete package of finishing toolpaths. Simultaneous 4- and 5-axis features for machining complex models include tilt, multi...

Starting Price:

$355 per month

14

334e196de75b4f46d2c04269fbc81f23.png

finalRender

cebas Visual Technology

Subscription Drop 5 stays true to its trueHybrid™ promise, even when massive volumetric datasets are used. finaRender is your next generation Visual FX powerhouse! In addition to the standalone rendering plugin for 3ds max, finalRender became a core part of every new single release of thinkingParticles. You can work with massive OpenVDB operations in 3ds Max - and thanks to thinkingParticles Subscription Drop 10 - those massive data sets can easily be handled and visualized with final...

Starting Price:

$24.5 per month

15

c015604a2c2d2f510399ab3418479da0.png

RhinoCAM

MecSoft Corporation

..., NEST & ART. RhinoCAM comes in 5 different configurations to suit the various needs of our customers. These are Express (XPR), Standard (STD), Expert (EXP), Professional (PRO) & Premium (PRE). RhinoCAM comes in 5 different configurations to suit the varied machining needs of our customers. Ideal for getting started with CAM programming. Includes 2 & 3 axis machining methods. Packed with sufficiently powerful manufacturing methods.

Starting Price:

$400 per year

16

edd06b56ea142b1616c37970a5fd21de.png

VisualCAM

MecSoft Corporation

VisualCAD/CAM is our standalone CAD/CAM package that is the best valued CAD/CAM system on the market today – period. VisualCAD is the CAD platform on which VisualCAM runs on. VisualCAM includes the following modules VisualMILL, VisualTURN, VisualNEST & VisualART to address specific needs of various CNC manufacturing processes. VisualCAD/CAM comes in 5 different configurations to suit the various needs of our customers. These are Express (XPR), Standard (STD), Expert (EXP), Professional (PRO...

Starting Price:

$595

17

04687a20480944eb74746683d702f00c.png

Render[in]

Render[in]

Render[in] is a fully integrated, real-time radiosity engine developed for SketchUp (Free and Pro) users. Powered by Artlantis 6.5’s rendering engine, Render[in] 3 gives SketchUp users the high-definition, photorealistic renderings they’ve been looking for, in a robust, easy-to-use application. Just as in photography, the respect of color is essential in rendering. Render[in]’s new global illumination engine improves images for a better perception of colors, textures, and materials. Thanks...

Starting Price:

€190 per license

18

63028bcfb0ab4f531a590630e005ca18.png

Maxwell Render

Maxwell Render

Reality means predictable, reliable first-time results. Maxwell Render™ unleashes your creativity without having to struggle with complex computer graphics terminology and countless parameter tweaks. Maxwell Render is specifically made to help architects, designers, and artists to visualize their projects efficiently and accurately with minimum set-up time. Maxwell 5 is the best rendering software for light simulation. The rendering engine combines physically correct lighting with thousands...

Starting Price:

$60

19

424911f289e6ef9cf554ac5a5214211a.png

FloorPlan

TurboCAD

FloorPlan is a complete, easy-to-use home and landscape design solution. No experience required! Simply drag and drop and FloorPlan does the work for you so you can focus on the final design. FloorPlan is the easiest way to design your dream home! Start with professionally designed templates, video training, and thousands of drag & drop symbols. Access 2D/3D home design tools to plan all phases of your dream home. Visualize a new kitchen, bath, or room addition with custom cabinets, lighting...

Starting Price:

$99.99 per license

20

ab770d1be90a9aaa0a6ede98fef4d647.png

Foyr Neo

Foyr

.... Edit Real Time in 3D. At the click of a button, you seamlessly shift between 2D and 3D modes to get a better feel for your space and make adjustments to the details. Get Photorealistic Render. Get a photorealistic 4K render in minutes. Set your desired lighting with an easy-to-use dial, and Neo’s AI will fill in all the highlights and shadows. Get Photorealistic Render. Switch to the Design Software That Does the Job of 5 Other Tools.

Starting Price:

$49 per month

21

8ca400f2bada8736b6711d85be73d2b3.png

Nuke

Foundry

For over 20 years, Nuke has empowered teams to work together to get pixel-perfect results, fast—all without sacrificing creativity and quality. Whether your focus is on blockbusters, short-form or binge-worthy episodic content, Nuke’s power, flexibility and robust toolset empowers whole teams to create the best content, with the same tools used by leading studios. Watch what studios all around the world say about Nuke. The tools to get the job done, no matter how you're working. Advanced...

Starting Price:

$5,248

22

92b45d57279ea9514e1b56d6ab217e0b.png

Flamingo nXt

Robert McNeel & Associates

Present your Rhino models in their best light. Next generation rendering technology. Flamingo nXt was developed for designers. You don't need to be a CG professional to quickly present your Rhino model in the best light. Results in a few clicks and a few minutes. In Rhino, just click Render to try the nXt defaults, or spend a few minutes to select a lighting scenario and add some materials before you click Render. Flamingo nXt 5 allows you to easily create stunning, life-like images in Rhino...

Starting Price:

$195

23

c4b088f77ec4cb8a43cdcbdc4bdcb94d.png

RenderMan

Pixar

Advanced technology from Pixar Animation Studios for rendering VFX and animation. With a new state-of-the-art framework optimized for physically-based rendering, RenderMan can deliver unmatched flexibility for any production pipeline. Not only is RenderMan used for our own feature films at Pixar, it is also used throughout the industry for rendering Visual Effects and animation, making scalability and versatility one of its core strengths. Now you can get out-of-box production tools straight...

Starting Price:

$5 per lincense

24

9d6528a31ed506cf61b7b441d920dad8.png

EZ-CAM

Ezcam Solutions Inc

EZ-CAM was one of the first PC based CAM systems to enter the market in 1982. To this day it continues to offer innovative, productive, affordable manufacturing solutions. From simple and easy to use 2 axis milling and turning to full 3 and 4 axis Milling, Mill/Turn, 5 axis Wire EDM and arc G-code Optimization. Following a very positive reception for the ALIBRE CAD Add-In that we introduced in EZ-CAM V2020, we’ve further extended EZ-CAM’s CAD connectivity by creating a similar direct Add...

Starting Price:

$495

25

bc3a4326fad5c56bd8923688c098df3b.png

RoboDK

RoboDK

... environment. With RoboDK you can program robots directly from your computer and eliminate production downtime caused by shop floor programming. Use your robot arm like a 5-axis milling machine (CNC) or a 3D printer. Simulate and convert NC programs to robot programs (G-code or APT-CLS files). RoboDK will automatically optimize the robot path, avoiding singularities, axis limits and collisions. Simulation and Offline Programming of industrial robots has never been easier.

Starting Price:

€145

#将下面的程序由网页版改为程序版 import gradio as gr import ollama import cv2 import numpy as np import base64 import tempfile import time from PyPDF2 import PdfReader import os import matplotlib.pyplot as plt from matplotlib.font_manager import FontProperties from PIL import Image import speech_recognition as sr from pydub import AudioSegment # 设置中文字体支持 plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 plt.rcParams['axes.unicode_minus'] = False # 用来正常显示负号 # 模型配置参数 MODEL_CONFIG = { "model": "gemma3:27b", "temperature": 0.7, "max_tokens": 1024, "top_p": 0.9, "system_prompt": "你是一个多模态AI助手,请用中文回答" } # 系统自检函数 def system_self_check(): """执行系统自检,确保所有组件正常工作""" results = [] # 检查Ollama连接 try: ollama.list() results.append(("Ollama连接", "✅ 正常", "green")) except Exception as e: results.append(("Ollama连接", f"❌ 失败: {str(e)}", "red")) # 检查模型可用性 try: models = [m['name'] for m in ollama.list()['models']] if MODEL_CONFIG['model'] in models: results.append(("模型可用性", f"✅ {MODEL_CONFIG['model']}可用", "green")) else: results.append(("模型可用性", f"❌ {MODEL_CONFIG['model']}不可用", "red")) except Exception as e: results.append(("模型可用性", f"❌ 检查失败: {str(e)}", "red")) # 检查OpenCV try: cv2.__version__ results.append(("OpenCV", f"✅ 版本 {cv2.__version__}", "green")) except Exception as e: results.append(("OpenCV", f"❌ 未安装: {str(e)}", "red")) # 检查PyPDF2 try: PdfReader results.append(("PDF处理", "✅ PyPDF2可用", "green")) except Exception as e: results.append(("PDF处理", f"❌ PyPDF2未安装: {str(e)}", "red")) return results # ========== 多模态处理函数 ========== def process_text(prompt, temperature, max_tokens): """处理文本输入""" response = ollama.chat( model=MODEL_CONFIG['model'], messages=[{'role': 'user', 'content': prompt}], options={ 'temperature': temperature, 'num_predict': max_tokens } ) return response['message']['content'] def process_image(image, prompt, temperature): """处理图像输入""" # 将图像转换为base64 if isinstance(image, str): img = Image.open(image) else: img = Image.fromarray(image.astype('uint8'), 'RGB') buffered = tempfile.NamedTemporaryFile(suffix='.jpg', delete=False) img.save(buffered, format="JPEG") img_base64 = base64.b64encode(buffered.read()).decode('utf-8') os.unlink(buffered.name) # 创建多模态消息 messages = [ { 'role': 'user', 'content': prompt, 'images': [img_base64] } ] response = ollama.chat( model=MODEL_CONFIG['model'], messages=messages, options={'temperature': temperature} ) # 创建可视化 fig, ax = plt.subplots(figsize=(8, 6)) ax.imshow(img) ax.set_title("分析图像") ax.axis('off') # 添加响应文本 plt.figtext(0.5, 0.01, response['message']['content'], ha="center", fontsize=10, bbox={"facecolor": "orange", "alpha": 0.2, "pad": 5}) temp_img = tempfile.NamedTemporaryFile(suffix='.png', delete=False) plt.savefig(temp_img.name, bbox_inches='tight') plt.close() return temp_img.name, response['message']['content'] def process_video(video_path, prompt, temperature, frame_interval): """处理视频输入""" cap = cv2.VideoCapture(video_path) total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT)) fps = cap.get(cv2.CAP_PROP_FPS) duration = total_frames / fps results = [] frames_to_process = [] # 提取关键帧 for i in range(0, total_frames, frame_interval): cap.set(cv2.CAP_PROP_POS_FRAMES, i) ret, frame = cap.read() if ret: frames_to_process.append((i, frame)) cap.release() # 处理每一帧 for frame_idx, frame in frames_to_process: # 保存临时图像 temp_frame = tempfile.NamedTemporaryFile(suffix='.jpg', delete=False) cv2.imwrite(temp_frame.name, frame) # 处理图像 _, analysis = process_image(temp_frame.name, f"{prompt} (帧 {frame_idx}/{total_frames})", temperature) results.append({ "frame": frame_idx, "time": frame_idx / fps, "analysis": analysis }) os.unlink(temp_frame.name) # 创建可视化图表 fig, ax = plt.subplots(2, 1, figsize=(10, 8)) # 帧分析结果 times = [r['time'] for r in results] analysis_len = [len(r['analysis']) for r in results] ax[0].plot(times, analysis_len, 'o-') ax[0].set_title("分析结果长度随时间变化") ax[0].set_xlabel("时间 (秒)") ax[0].set_ylabel("分析长度 (字符)") # 关键词频率 keywords = ["人", "物体", "运动", "场景", "颜色"] keyword_counts = {k: 0 for k in keywords} for r in results: for k in keywords: if k in r['analysis']: keyword_counts[k] += 1 ax[1].bar(keyword_counts.keys(), keyword_counts.values(), color='skyblue') ax[1].set_title("关键词频率分析") ax[1].set_ylabel("出现次数") plt.tight_layout() chart_path = tempfile.NamedTemporaryFile(suffix='.png', delete=False).name plt.savefig(chart_path) plt.close() return results, chart_path def process_audio(audio_path, prompt, temperature): """处理音频输入""" # 语音识别 r = sr.Recognizer() with sr.AudioFile(audio_path) as source: audio_data = r.record(source) try: transcript = r.recognize_google(audio_data, language='zh-CN') except sr.UnknownValueError: transcript = "无法识别语音" except sr.RequestError as e: transcript = f"语音识别服务错误: {e}" # 处理文本 response = process_text(f"{prompt}\n语音内容: {transcript}", temperature, 512) # 创建波形图 audio = AudioSegment.from_file(audio_path) samples = np.array(audio.get_array_of_samples()) plt.figure(figsize=(10, 4)) plt.plot(samples, color='blue') plt.title("音频波形图") plt.xlabel("采样点") plt.ylabel("振幅") plt.grid(True, alpha=0.3) waveform_path = tempfile.NamedTemporaryFile(suffix='.png', delete=False).name plt.savefig(waveform_path) plt.close() return transcript, response, waveform_path def process_pdf(pdf_path, prompt, temperature, max_tokens): """处理PDF文档""" text = "" with open(pdf_path, "rb") as f: reader = PdfReader(f) for page in reader.pages: text += page.extract_text() + "\n" # 只取前2000字符避免过长 text = text[:2000] + "..." if len(text) > 2000 else text # 处理文本 response = process_text(f"{prompt}\n文档内容: {text}", temperature, max_tokens) # 创建词云图 from wordcloud import WordCloud wordcloud = WordCloud( font_path='SimHei.ttf', background_color='white', width=800, height=400 ).generate(text) plt.figure(figsize=(10, 5)) plt.imshow(wordcloud, interpolation='bilinear') plt.axis("off") plt.title("文档关键词词云") wordcloud_path = tempfile.NamedTemporaryFile(suffix='.png', delete=False).name plt.savefig(wordcloud_path) plt.close() return text, response, wordcloud_path # ========== 界面构建 ========== def create_interface(): """创建多模态界面""" with gr.Blocks( title="多模态Gemma3应用系统", theme=gr.themes.Soft(primary_hue="teal", secondary_hue="pink"), css=".gradio-container {background-color: #f5f7fa}" ) as app: # 标题和状态栏 gr.Markdown("# 🚀 Gemma3多模态应用系统") with gr.Row(): status_btn = gr.Button("系统状态检查", variant="secondary") status_output = gr.HTML() # 系统配置区域 with gr.Accordion("⚙️ 模型参数配置", open=False): with gr.Row(): temperature = gr.Slider(0.1, 1.0, value=MODEL_CONFIG["temperature"], label="温度", info="控制随机性 (低=确定, 高=创意)") max_tokens = gr.Slider(128, 4096, value=MODEL_CONFIG["max_tokens"], step=128, label="最大Token数", info="控制响应长度") top_p = gr.Slider(0.1, 1.0, value=MODEL_CONFIG["top_p"], label="Top-p采样", info="控制词汇选择范围") system_prompt = gr.Textbox(value=MODEL_CONFIG["system_prompt"], label="系统提示词", lines=2) model_selector = gr.Dropdown(["gemma3:27b", "gemma3:9b", "llama3"], value=MODEL_CONFIG["model"], label="选择模型") # 多模态标签页 with gr.Tabs(): # 文本对话标签页 with gr.Tab("💬 文本对话"): with gr.Row(): with gr.Column(scale=3): text_input = gr.Textbox(label="输入问题", lines=5, placeholder="请输入您的问题...") text_btn = gr.Button("发送", variant="primary") with gr.Column(scale=7): text_output = gr.Textbox(label="模型回复", interactive=False, lines=10) # 图像分析标签页 with gr.Tab("🖼️ 图像分析"): with gr.Row(): with gr.Column(scale=4): img_input = gr.Image(label="上传图像", type="filepath") img_prompt = gr.Textbox(label="分析指令", placeholder="描述您想分析的内容...") img_btn = gr.Button("分析图像", variant="primary") with gr.Column(scale=6): img_output = gr.Image(label="分析结果可视化") img_analysis = gr.Textbox(label="详细分析", interactive=False) # 视频分析标签页 with gr.Tab("🎬 视频分析"): with gr.Row(): with gr.Column(scale=4): video_input = gr.Video(label="上传视频") video_prompt = gr.Textbox(label="分析指令", placeholder="输入视频分析指令...") frame_slider = gr.Slider(10, 100, value=30, step=10, label="帧采样间隔", info="间隔越大处理越快") video_btn = gr.Button("分析视频", variant="primary") with gr.Column(scale=6): video_output = gr.Plot(label="分析结果可视化") video_analysis = gr.JSON(label="帧分析结果") # 语音处理标签页 with gr.Tab("🎧 语音处理"): with gr.Row(): with gr.Column(scale=4): audio_input = gr.Audio(label="上传音频", type="filepath") audio_prompt = gr.Textbox(label="分析指令", placeholder="输入语音分析指令...") audio_btn = gr.Button("处理音频", variant="primary") with gr.Column(scale=6): audio_waveform = gr.Image(label="音频波形") audio_transcript = gr.Textbox(label="语音转写", interactive=False) audio_analysis = gr.Textbox(label="分析结果", interactive=False) # PDF分析标签页 with gr.Tab("📄 文档分析"): with gr.Row(): with gr.Column(scale=4): pdf_input = gr.File(label="上传PDF文档", file_types=[".pdf"]) pdf_prompt = gr.Textbox(label="分析指令", placeholder="输入文档分析指令...") pdf_btn = gr.Button("分析文档", variant="primary") with gr.Column(scale=6): pdf_wordcloud = gr.Image(label="关键词词云") pdf_content = gr.Textbox(label="文档内容摘要", interactive=False) pdf_analysis = gr.Textbox(label="分析结果", interactive=False) # ========== 事件绑定 ========== # 系统状态检查 status_btn.click( fn=lambda: "<br>".join( [f"<span style='color:{c}'>{n}: {s}</span>" for n, s, c in system_self_check()] ), outputs=status_output ) # 文本处理 text_btn.click( fn=process_text, inputs=[text_input, temperature, max_tokens], outputs=text_output ) # 图像处理 img_btn.click( fn=process_image, inputs=[img_input, img_prompt, temperature], outputs=[img_output, img_analysis] ) # 视频处理 video_btn.click( fn=process_video, inputs=[video_input, video_prompt, temperature, frame_slider], outputs=[video_analysis, video_output] ) # 音频处理 audio_btn.click( fn=process_audio, inputs=[audio_input, audio_prompt, temperature], outputs=[audio_transcript, audio_analysis, audio_waveform] ) # PDF处理 pdf_btn.click( fn=process_pdf, inputs=[pdf_input, pdf_prompt, temperature, max_tokens], outputs=[pdf_content, pdf_analysis, pdf_wordcloud] ) # 模型参数更新 model_selector.change( fn=lambda x: gr.update(value=x), inputs=model_selector, outputs=model_selector ) return app # ========== 主程序 ========== if __name__ == "__main__": # 系统自检 print("=== 系统自检 ===") for name, status, _ in system_self_check(): print(f"{name}: {status}") # 创建界面 app = create_interface() app.launch( server_name="127.0.0.100", server_port=7860, share=True, favicon_path="favicon.ico" )
08-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值